-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interview dao documentation #873
Conversation
[diff-counting] Significant lines: 39. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for getting this done!
@@ -49,6 +77,12 @@ export default class InterviewSlotDao extends BaseDao<InterviewSlot, DBInterview | |||
); | |||
} | |||
|
|||
/** | |||
* Updates an interview slot, ensuring that only an admin can change the assigned applicant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applicants and members can also edit interview slots (signing up). admin bypass is to prevent the checks seen later in the code.
Summary
This PR adds documentation for the
InterviewSlotDao.ts